<?php
if($totalComment > 0)
{
    foreach($arrComment as $comment)
    {
?>
        <li>
            <span class="name"><?php echo $comment['user_name']; ?></span>
            <span class="date-time"><?php echo strftime("%H:%M - %d/%m/%Y", $comment['created_on']);; ?></span>
            <p class="comment"><?php echo $comment['content']; ?></p>
        </li>
<?php
    }
}
else
{
?>
        <li id="no_cm">Chưa có bình luận nào.</li>
<?php
}
?>

